package blue.mqtt4j.core.lexer;

import java.util.List;

/**
 * @author Jin Zheng
 * @since 1.0 2020-11-02
 */
public interface TokenReader
{

	Token read();

	Token peek();

	void unread();

	int position();

	void setPosition(int position);

	List<Token> tokens();

}
